/*
 +----------------------------------------------------------------------
 + Title        : inquiryRoom
 + Author       : huwl
 + Version      : 1.0.0
 + Initial-Time : 2023-08-10
 + Last-time    : 这个文件最后修改的时间 + 修改人的名称
 + Desc         : 问诊室接口
 +----------------------------------------------------------------------
*/

import type { SendMessageParams } from "@/types/inquiryRoom"
import { http } from "@/utils/httpRequest"

/**
 * 发送消息,请求方式[POST]
 * 
 * @param SendMessageParams data -------------------------------请求参数
 * @returns Promise<any>
 * @author huwl
 */
export const reqSendMessageAPI = (data: SendMessageParams) => {
    return http<any>({
        method: 'POST',
        url: 'inquiryRoom/sendMessage',
        data
    })
}